package com.example.demo.service;

import com.example.demo.domain.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author WaterTiger
 * @since 2020/6
 */
public interface AddressService {
    void addAddress(Address address);
    void delAddress(int id);
    Address getOnlyAddressById(Integer id);
    List<Address> getAddressByUid(Integer uid);
    void addPartAddress(String address,Integer uid,String times);
    void saveAddress(Address address);
}
